package com.yuehuanghun.admin.core.dto;

import javax.validation.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

@Data
public class LoginReq {
	/** 用户名 */
	@NotBlank(message = "用户名不能为空")
	@JsonProperty(value = "username")
	private String userName;
	/** 密码 */
	@NotBlank(message = "密码不能为空")
	private String password;
	/** 验证码 */
	@NotBlank(message = "验证码不能为空")
	@JsonProperty(value = "code")
	private String captcha;
	/** 记住用户 */
	private boolean rememberMe;
	/** 验证码标识 */
	@JsonProperty(value = "uuid")
	private String captchaUuid;
	/** 时间戳 */
	private Long timestamp;
}
